import { useNavigate } from "react-router-dom"
function Tab() {
    const tiao = useNavigate()
  return (
    <ul className="foot">
      <li onClick={() => tiao("/home/a=1")}>首页</li>
      <li onClick={()=>tiao('/classify')}>分类</li>
      <li onClick={()=>tiao('/cart')}>购物车</li>
      <li onClick={()=>tiao('/my')}>我的</li>
    </ul>
  );
}
export default Tab;
